import request from '@/utils/request';
import type { Result } from '@/types/global';

export interface Member {
  xcxOpenId: string;
  // 其他字段...
}

// 根据手机号筛选用户
export function getUserByMobile(params: { mobile: string }) {
  const query = `mobile=${params.mobile}`;
  return request.get<Result<Member>>(`/api/profit/sharing/template/user/filter?${query}`);
} 